//
//  MenuTuiJianChangJingDetailModel.m
//  Products_B
//
//  Created by lanou on 16/6/2.
//  Copyright © 2016年 朋学友. All rights reserved.
//

#import "MenuTuiJianChangJingDetailModel.h"

@implementation MenuTuiJianChangJingDetailModel
+ (NSMutableArray *)modelConfigureWithDic:(NSDictionary *)jsonDic{
    NSLog(@"%@",jsonDic);
    NSMutableArray *modelArray = [NSMutableArray array];
    for (NSDictionary *dishes_listDic in jsonDic[@"data"][@"dishes_list"]) {
        MenuTuiJianChangJingDetailModel *model = [[self alloc]init];
        [model setValuesForKeysWithDictionary:dishes_listDic];
        model.array = [NSMutableArray array];
        for (NSDictionary *bigDic in dishes_listDic[@"tags_info"]) {
            [model.array addObject:bigDic[@"text"]];
        }
        NSLog(@"%@",model.array);
        [modelArray addObject:model];
    }
    NSLog(@"%@",modelArray);
    return modelArray;
}
@end
